\mycommand[optionalargument]%
{first mandatory%
}%
{second mandatory%
}%
after text
